// 引入vue
import { createApp } from 'vue'

// 引入pinia
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// 引入路由
import router from './router'

// 引入自定义css
import './assets/css/main.css'

import App from './App.vue'

const app = createApp(App)

// 引入路由
app.use(router)

// 引入pinia
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)

app.mount('#app')
